package com.alvis.media.repository;

import com.alvis.media.domain.User;
import com.alvis.media.domain.VideoInfo;
import com.alvis.media.domain.VideoPlay;
import com.alvis.media.viewmodel.admin.user.UserPageRequestVM;
import com.alvis.media.viewmodel.video.VideoPageRequestVM;
import com.alvis.media.viewmodel.video.VideoResponseVM;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VideoInfoMapper extends MediaBaseMapper <VideoInfo>{

    List<VideoInfo> videoPage(VideoPageRequestVM requestVM);

    Integer selectNewVideoCount(VideoInfo videoInfo);

    String selectBestVideo(VideoPlay videoPlay);

    VideoInfo selectByPrimaryKey(Integer id);
}
